package com.ruoyi.project.system.app.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * CTCP计算节点对象 ctcp_node
 * 
 * @author huzhenyuan
 * @date 2021-07-15
 */
public class CtcpNodeForApp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name = "序号")
    private Long id;

    /** 节点名称 */
    @Excel(name = "节点名称")
    private String name;

    /** 节点描述 */
    @Excel(name = "节点描述")
    private String description;

    /** 节点类型 */
    @Excel(name = "节点类型")
    private Long type;

    /** 节点状态 */
    @Excel(name = "节点状态")
    private Long status;

    /** IP地址 */
    @Excel(name = "IP地址")
    private String ip;

    /** 端口 */
    @Excel(name = "端口")
    private String port;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setPort(String port) 
    {
        this.port = port;
    }

    public String getPort() 
    {
        return port;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("description", getDescription())
            .append("type", getType())
            .append("status", getStatus())
            .append("ip", getIp())
            .append("port", getPort())
            .toString();
    }
}
